<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>实验2_5</title>
		<style>
			.c1{
				width: 100px;
				padding:20px;
				background-color: pink;
				text-align:center;
				font-size: 20px;
				display:inline-block;
			}			
			.c1:hover {
			  background-color: black;
			  color: pink;
			  font-size: 20px;
			}
			</style>
	</head>
	<body>
		<div class="c1">链接1</div>
		<div class="c1">链接2</div>
		<div class="c1">链接3</div>
		<div class="c1">链接4</div>
	</body>
</html>